package com.roc.steelend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roc.steelend.pojo.Invoice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.sql.Date;
import java.util.List;

@Repository
public interface InvoiceMapper extends BaseMapper<Invoice> {

    List<Invoice> getInvoiceData(@Param("now") Integer now,@Param("size") Integer size,@Param("invoiceType")String invoiceType, @Param("startTime") Date startTime,@Param("endTime") Date endTime,@Param("duiXiang") String duiXiang);
    Integer getInvoiceDataCount( @Param("invoiceType")String invoiceType,@Param("startTime") Date startTime,@Param("endTime") Date endTime,@Param("duiXiang") String duiXiang);

}
